package net.realsee.service.wcs.data;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.data.WcsTextTranslation;
import net.realsee.domain.wcs.data.bo.WcsTextTranslationBo;
import net.realsee.domain.wcs.data.vo.WcsTextTranslationVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 文本翻译Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsTextTranslationService extends IService<WcsTextTranslation> {

    /**
     * 查询文本翻译
     */
    WcsTextTranslationVo selectVoById(Long id);

    /**
     * 查询文本翻译列表
     */
    TableDataInfo<WcsTextTranslationVo> selectVoPage(WcsTextTranslationBo bo, PageQuery pageQuery);

    /**
     * 查询文本翻译列表
     */
    List<WcsTextTranslationVo> selectVoList(WcsTextTranslationBo bo);

    /**
     * 新增文本翻译
     */
    Boolean insertByBo(WcsTextTranslationBo bo);

    /**
     * 修改文本翻译
     */
    Boolean updateByBo(WcsTextTranslationBo bo);

    /**
     * 校验并批量删除文本翻译信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
